.nav-bar-bg {
  background-color: #9f3b24 !important;
}
.nav-title {
  color: #fff !important;
}

.stepper-text {
  color: #9f3b24 !important;
}

page {
  background-color: #fff;
}

.container {
  .header-box {
    position: relative;
    padding: 40rpx;
    width: 750rpx;
    height: 214rpx;
    background-color: #9f3b24;
    box-sizing: border-box;
    .title {
      font-size: 32rpx;
      font-family: PingFang SC-Medium, PingFang SC;
      font-weight: 500;
      color: #ffffff;
    }
    .address {
      margin-top: 16rpx;
      font-size: 24rpx;
      font-family: PingFang SC-Regular, PingFang SC;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.75);
      text:nth-child(2) {
        margin-left: 40rpx;
      }
    }
    .img {
      position: absolute;
      right: -40rpx;
      top: 0;
    }
  }
  .main-box {
    padding: 0 40rpx;
    position: relative;
    top: -30rpx;
    width: 750rpx;
    height: 2662rpx;
    background: #ffffff;
    box-shadow: 0rpx 4rpx 20rpx 2rpx rgba(0, 0, 0, 0.1);
    border-radius: 24rpx 24rpx 0rpx 0rpx;
    box-sizing: border-box;

    .title-box {
      display: flex;
      align-items: center;
      margin-top: 40rpx;
      margin-bottom: 40rpx;
      .icon {
        width: 6rpx;
        height: 30rpx;
        background: #9f3b24;
      }
      .title {
        margin-left: 12rpx;
        font-size: 32rpx;
        font-family: PingFang SC-Medium, PingFang SC;
        font-weight: 500;
        color: #0b181e;
      }
      .desc {
        position: relative;
        bottom: -6rpx;
        margin-left: 12rpx;
        font-size: 20rpx;
        font-family: PingFang SC-Regular, PingFang SC;
        font-weight: 400;
        color: #9f3b24;
      }
    }
    .date {
      padding-bottom: 80rpx;
      border-bottom: 1px solid rgba(217, 217, 217, 0.5);

      .date-content {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 670rpx;
        height: 90rpx;
        border-radius: 16rpx;
        border: 1px solid #9f3b24;

        font-size: 24rpx;
        font-family: PingFang SC-Medium, PingFang SC;
        font-weight: 500;
        color: #9f3b24;
      }
    }
    .ticket-list {
      padding-bottom: 80rpx;
      border-bottom: 1px solid rgba(217, 217, 217, 0.5);
      .ticket-item {
        display: inline-block;
        padding: 26rpx 28rpx 24rpx 28rpx;
        margin-bottom: 20rpx;
        background: #f6f6f6;
        border-radius: 16rpx;
        border: 1px solid #dadada;
        box-sizing: border-box;

        font-size: 28rpx;
        font-family: PingFang SC-Regular, PingFang SC;
        font-weight: 400;
        color: rgba(11, 24, 30, 0.5);
        &.active {
          background-color: #fff;
          border: 1px solid #9f3b24;
          color: #9f3b24;
        }
      }
      .tip {
        display: flex;
        align-items: center;
        .dot {
          width: 8rpx;
          height: 8rpx;
          background: #9f3b24;
          border-radius: 50%;
        }
        .text {
          margin-left: 12rpx;
          font-size: 20rpx;
          font-family: PingFang SC-Regular, PingFang SC;
          font-weight: 400;
          color: #9f3b24;
        }
      }
    }
    .tourist-box {
      padding-bottom: 80rpx;
      border-bottom: 1px solid rgba(217, 217, 217, 0.5);

      .tourist-list {
        display: flex;
        align-items: center;
        flex-wrap: wrap;

        .tourist-item {
          display: flex;
          align-items: center;
          justify-content: center;
          margin-right: 20rpx;
          margin-bottom: 20rpx;
          width: 144rpx;
          height: 88rpx;
          background: #f6f6f6;
          border-radius: 16rpx;
          border: 1px solid #dadada;

          font-size: 28rpx;
          font-family: PingFang SC-Regular, PingFang SC;
          font-weight: 400;
          color: rgba(11, 24, 30, 0.75);
          &.active {
            color: #9f3b24;
            border: 1px solid #9f3b24;
            background-color: #fff;
          }
          &:nth-child(4n) {
            margin-right: 0rpx;
          }
        }
        .create-btn {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 158rpx;
          height: 56rpx;
          background: #9f3b24;
          border-radius: 40rpx;

          font-size: 28rpx;
          font-family: PingFang SC-Regular, PingFang SC;
          font-weight: 400;
          color: #fff9f8;
        }
      }
      .tourist-info {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 40rpx;
        width: 100%;
        .item {
          display: flex;
          align-items: center;
          margin-bottom: 40rpx;
          width: 50%;
          .name {
            font-size: 20rpx;
            font-family: PingFang SC-Regular, PingFang SC;
            font-weight: 400;
            color: #0b181e;
          }
          .text-value {
            margin-left: 16rpx;
            font-size: 28rpx;
            font-family: PingFang SC-Regular, PingFang SC;
            font-weight: 400;
            color: #0b181e;
          }
          &:nth-child(1) {
            width: 35%;
          }
          &:nth-child(2) {
            width: 65%;
          }
        }
      }
      .add-ticket {
        display: flex;
        align-items: center;
        justify-content: space-between;
        // margin-top: 50rpx;
        .text {
          font-size: 28rpx;
          font-family: PingFang SC-Regular, PingFang SC;
          font-weight: 400;
          color: #000000;
        }
      }
    }
    .banner-box {
      margin-top: 40rpx;
      padding-bottom: 38rpx;
      border-bottom: 1px solid rgba(217, 217, 217, 0.5);
      .content {
        position: relative;
        padding-top: 36rpx;
        padding-left: 32rpx;
        width: 670rpx;
        height: 176rpx;
        background: linear-gradient(
          90deg,
          rgba(159, 59, 36, 0.73) 0%,
          rgba(255, 255, 255, 0.41) 100%
        );
        border-radius: 8rpx;
        box-sizing: border-box;
        .img {
          position: absolute;
          right: 22rpx;
          top: 0;
        }
        .text1 {
          font-size: 28rpx;
          font-family: PingFang SC-Medium, PingFang SC;
          font-weight: 500;
          color: #ffffff;
        }
        .text2 {
          display: flex;
          align-items: center;
          margin-top: 20rpx;
          font-size: 36rpx;
          font-family: PingFang SC-Medium, PingFang SC;
          font-weight: 500;
          color: #ffffff;
          .right-icon {
            position: relative;
            bottom: -8rpx;
            left: 16rpx;
          }
        }
      }
    }
    .ticket-info {
      padding-bottom: 80rpx;
      border-bottom: 1px solid rgba(217, 217, 217, 0.5);

      font-size: 28rpx;
      font-family: PingFang SC-Regular, PingFang SC;
      font-weight: 400;
      color: rgba(11, 24, 30, 0.75);
      view {
        margin-bottom: 10rpx;
      }
    }
    .matter-list {
      .matter-item {
        margin-bottom: 10rpx;
        font-size: 28rpx;
        font-family: PingFang SC-Regular, PingFang SC;
        font-weight: 400;
        color: rgba(11, 24, 30, 0.75);
      }
    }
    .notice-content {
      padding-bottom: 80rpx;
      border-bottom: 1px solid rgba(217, 217, 217, 0.5);
      .text {
        font-size: 28rpx;
        font-family: PingFang SC-Regular, PingFang SC;
        font-weight: 400;
        color: rgba(11, 24, 30, 0.75);
      }
    }
  }
  .action-box {
    display: flex;
    justify-content: space-between;
    position: fixed;
    padding: 14rpx 40rpx;
    bottom: 0;
    width: 750rpx;
    height: calc(120rpx + constant(safe-area-inset-bottom) / 2);
    height: calc(120rpx + env(safe-area-inset-bottom) / 2);
    background: #ffffff;
    box-shadow: 4rpx 0rpx 20rpx 2rpx rgba(0, 0, 0, 0.1);
    box-sizing: border-box;

    .price-info {
      .money-info {
        text {
          &:nth-child(1) {
            font-size: 28rpx;
            font-family: PingFang SC-Regular, PingFang SC;
            font-weight: 400;
            color: #0b181e;
          }
          &:nth-child(2) {
            font-size: 20rpx;
            font-family: PingFang SC-Regular, PingFang SC;
            font-weight: 400;
            color: #9f3b24;
          }
          &:nth-child(3) {
            margin-left: 8rpx;
            font-size: 40rpx;
            font-family: PingFang SC-Medium, PingFang SC;
            font-weight: 500;
            color: #9f3b24;
          }
        }
      }
      .discount {
        position: relative;
        top: -8rpx;
        font-size: 20rpx;
        font-family: PingFang SC-Regular, PingFang SC;
        font-weight: 400;
        color: #9f3b24;
      }
    }

    .submit-order {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 448rpx;
      height: 74rpx;
      background: #9f3b24;
      border-radius: 40rpx;

      font-size: 36rpx;
      font-family: PingFang SC-Medium, PingFang SC;
      font-weight: 500;
      color: #ffffff;
    }
  }
}
